
#include <stdio.h>
#include <string.h>

int main(int argc, char *argv[]){

	char buf[1024];
 
	while(1){
	
			printf("user: ");
	
			if (fgets(buf, 1024, stdin) == NULL) return 0;
				else{
					if(strcmp(buf,"exit\n")==0)return 0;
						else printf("%s",buf);
				}
	}
	return 0;
}

